package cn.colat.micse.user.mapper;

import cn.colat.micse.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * t_user Mapper
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户名查询 用户
     *
     * @param username 用户名
     * @return 用户
     */
    User queryByUserName(@Param("username") String username);
}




